package com.backend.modules.task.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

import com.backend.modules.task.enums.TaskStatus;

@Data
@Schema(description = "学生任务查询参数")
public class StudentTaskQueryDTO {
    
    @Schema(description = "任务名称")
    private String name;
    
    @Schema(description = "提交状态(true:已提交,false:未提交)")
    private Boolean submitted;
    
    @Schema(description = "任务状态")
    private TaskStatus status;
    
    @Schema(description = "开始时间")
    private LocalDateTime startTime;
    
    @Schema(description = "结束时间")
    private LocalDateTime endTime;
    
    @Schema(description = "排序字段")
    private String sortField;
    
    @Schema(description = "排序方向(asc,desc)")
    private String sortDirection;
}